package com.panda.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.panda.common.annotation.Excel;
import com.panda.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 工作台对象 panda_workbench
 * 
 * @author panda
 * @date 2021-01-11
 */
public class PandaWorkbench extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 待办事项 */
    @Excel(name = "待办事项")
    private String name;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 关联记录ID */
    private Long linkId;

    /** 关联记录表 */
    private String linkTable;

    /**
     * 待办事项-操作：当天成交量
     *
     */
    private String exts1;

    /**
     * 待办事项-操作：预留成交量
     *
     */
    private String exts2;
    /**
     * 待办事项-评价：任务完成明细行ID
     */
    private String exts3;
    private String exts4;
    private String exts5;


    /** 状态 */
    @Excel(name = "状态")
    private String status;

    private Long userId;

    // == 任务信息=================
    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;

    /** 产品名称 */
    private String productName;

    /** 主图 */
    private String picture;

    /** 金额 */
    private BigDecimal price;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date tastDate;

    /** 关键词 */
    private String keywords;

    /** 链接 */
    private String url;


    //=========================
    /** 用户昵称 */
    private String nickName;


    /** 用户邮箱 */
    private String email;

    /** 手机号码 */
    private String phonenumber;


    /** 用户头像 */
    private String avatar;

    private int totalDayTodo;

    private int totalDayCompleted;
    private int totalReservedTodo;
    private int totalReservedCompleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setLinkId(Long linkId) 
    {
        this.linkId = linkId;
    }

    public Long getLinkId() 
    {
        return linkId;
    }
    public void setLinkTable(String linkTable) 
    {
        this.linkTable = linkTable;
    }

    public String getLinkTable() 
    {
        return linkTable;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("linkId", getLinkId())
            .append("linkTable", getLinkTable())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getExts1() {
        return exts1;
    }

    public void setExts1(String exts1) {
        this.exts1 = exts1;
    }

    public String getExts2() {
        return exts2;
    }

    public void setExts2(String exts2) {
        this.exts2 = exts2;
    }

    public String getExts3() {
        return exts3;
    }

    public void setExts3(String exts3) {
        this.exts3 = exts3;
    }

    public String getExts4() {
        return exts4;
    }

    public void setExts4(String exts4) {
        this.exts4 = exts4;
    }

    public String getExts5() {
        return exts5;
    }

    public void setExts5(String exts5) {
        this.exts5 = exts5;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getTastDate() {
        return tastDate;
    }

    public void setTastDate(Date tastDate) {
        this.tastDate = tastDate;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getTotalDayTodo() {
        return totalDayTodo;
    }

    public void setTotalDayTodo(int totalDayTodo) {
        this.totalDayTodo = totalDayTodo;
    }

    public int getTotalDayCompleted() {
        return totalDayCompleted;
    }

    public void setTotalDayCompleted(int totalDayCompleted) {
        this.totalDayCompleted = totalDayCompleted;
    }

    public int getTotalReservedTodo() {
        return totalReservedTodo;
    }

    public void setTotalReservedTodo(int totalReservedTodo) {
        this.totalReservedTodo = totalReservedTodo;
    }

    public int getTotalReservedCompleted() {
        return totalReservedCompleted;
    }

    public void setTotalReservedCompleted(int totalReservedCompleted) {
        this.totalReservedCompleted = totalReservedCompleted;
    }
}
